package com.gxl.design.templatepattern;

public class Car extends Run {
    @Override
    void startup() {
        System.out.println("汽车启动了");
    }

    @Override
    void go() {

        System.out.println("汽车跑在路上了");
    }

    @Override
    void arrive() {

        System.out.println("汽车到达会所");
    }
}
